//
//  UIView+Tips.h
//  FullShareTop
//
//  Created by lqq on 17/3/21.
//  Copyright © 2017年 FSB. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView (Tips)

/**
 loading 动画
 */
- (void)showLoading;

/**
 错误提示
 */
- (void)showErrorStr:(NSString *)errorStr refreshBlock:(void(^)(void))refreshBlock;
- (void)showError:(NSError *)error refreshBlock:(void(^)(void))refreshBlock;





/**
 无内容展示
 */
- (void)showEmptyingView;


/**
 展示带有图片和描述的空页面
 */
- (void)showEmptyViewWithPic:(UIImage *)picture desc:(NSString *)desc;

/**
 空数据-暂无训练记录
 */
- (void)showEmptyingRecordViewCallBackBlock:(void(^)(void))callBackBlock;


/**
 空数据-无成员
 */
- (void)showEmptyingGroupViewCallBackBlock:(void(^)(void))callBackBlock;

/**
 自定义空数据内容
 */
- (void)showEmptyWithDesc:(NSString *)desc callBackTitle:(NSString *)callBackTitle callBack:(void(^)(void))callBackBlock;

/**
 隐藏
 */
- (void)hideStatusView;



@end
